package com.longlong.orm;

import java.util.List;

/**
 * 用于存储解析 sql 得到的信息
 *
 * @author longlong
 */
public class SqlAndKey {

    private StringBuilder sql;
    private List<String> keyList;

    public SqlAndKey(StringBuilder sql, List<String> keyList){
        this.sql = sql;
        this.keyList = keyList;
    }

    public String getSql(){
        return sql.toString();
    }
    public List<String> getKeyList(){
        return keyList;
    }
}
